﻿//-----------------------------------------------------------------------
// <copyright file="ApplicationCollection.cs" company="Alan Rodrigues">
//     Copyright (c) Alan Rodrigues. All rights reserved.
// </copyright>
// <developed>Alan Rodrigues (operninha@gmail.com)</developed>
//-----------------------------------------------------------------------
 
using System.Collections.Generic;

namespace Authorization
{
    /// <summary>
    /// <see cref="Application"/> Collection
    /// </summary>
    [System.Runtime.Serialization.CollectionDataContract(Name = "ApplicationCollection")]
    [System.Runtime.Serialization.KnownType(typeof(Application))]
    public class ApplicationCollection : System.Collections.ObjectModel.Collection<Application>
    {
        ///// <summary>
        /////  Initializes a instance of the ApplicationCollection class that is empty and has the specified initial capacity
        ///// </summary>
        ///// <param name="capacity">The number of elements that new list can initially store</param>
        //public ApplicationCollection(int capacity)
        //    : base(capacity)
        //{
            
        //}

        ///// <summary>
        /////  Initializes a instance of the ApplicationCollection class with elements copied from a collection
        ///// </summary>
        ///// <param name="applications">The collection whose elements are copied to the new list</param>
        //public ApplicationCollection(IEnumerable<Application> applications)
        //   : base(applications)
        //{
        //}
        /// <summary>
        ///  Initializes a instance of the ApplicationCollection class that is empty and has a default initial capacity
        /// </summary>
        public ApplicationCollection()
        {

        }

        public ApplicationCollection(IList<Application> list)
            : base(list)
        {
        }

    }
}
